Re: [NTG-context] upload

2022-03-30 Thread Otared Kavian via ntg-context
example: % begin math-cases-numbered.tex \definemathmatrix[alignedcases] [align={1:right,2:left,3:left}, distance=3pt, left={\left\{}, right={\right.}, style=\displaystyle] \definereferenceformat[informula] [left

[NTG-context] (again) diferent prefixsegments for different references

2022-01-16 Thread Pablo Rodriguez via ntg-context
Dear list, I asked this some time ago (https://mailman.ntg.nl/pipermail/ntg-context/2021/102394.html). Using the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter} \section[b

[NTG-context] different preffixsegments for different reference formats

2021-08-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter} \section[b]{Section} \itsc[b] and \in[b] \stoptext How can I get that \itsc gets "prefixsegments=se

[NTG-context] issue with \cite in ConTeXt ver: 2020.12.22 22:14 LMTX fmt: 2020.12.22

2020-12-22 Thread Alan Bowen
[packed]}, after={\egroup}, ] \definereferenceformat [cite] [type=title,left={},right={}] \definereferenceformat [bibpage] [type=page] starttext Now \cite[test 2020] on page \page \startbibitem[test 2020] \input ward \stopbibitem \stoptext Instead of “Now test 2020 on page”, I get “Now 248

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Sylvain Hubert
hlight[emph][style={\em}] > \definehighlight[strong][style={\bf}] > > \setupfloat[table][default={here}] > > \definereferenceformat[figura][text={Figura~}] > \definereferenceformat[tabla][text={Tabla~}] > > \setupcaptions[style={\sans\small}, > width=max, >

[NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
MWE (sorry for the long table, I hadn't anything else at hand): \definehighlight[emph][style={\em}] \definehighlight[strong][style={\bf}] \setupfloat[table][default={here}] \definereferenceformat[figura][text={Figura~}] \definereferenceformat[tabla][text={Tabla

Re: [NTG-context] referencing both real and user pagenumbers

2020-05-29 Thread Wolfgang Schuster
] \starttext \chapter[title=My first, reference=First] \page in chapter 1 on page \getreference[realpage][First] \stoptext Create a new reference command with \definereferenceformat [getrealpage] [type=realpage] and use it (e.g. \getrealpage[First]) to show the page number. Wolfgang

Re: [NTG-context] Referencing equation, missing dot

2019-11-14 Thread Hans Hagen
FILE \definereferenceformat[eqref][left=(,right=)] \starttext \chapter[title=Foo] \placeformula[eq:bar] \startformula 1+1=2 \stopformula We see in \eqref[eq:bar]. \stoptext fixed in next beta

[NTG-context] Referencing equation, missing dot

2019-11-13 Thread Mikael P. Sundqvist
Hi, The following example used to work. But with an LMTX updated today, the numbering \eqref produces is (11) instead of the expected (1.1). The numbering in the equation itself is fine. Did something change on purpose? /Mikael %%% TEST FILE \definereferenceformat[eqref][left=(,right

Re: [NTG-context] referencing the equation

2018-08-09 Thread Henri Menke
I usually define my own reference formats, “ineq” for equations, “infig” for figures: \definereferenceformat[ineq][left=(,right=)] \definereferenceformat[infig][left=\labeltext{figure}] \starttext \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC

Re: [NTG-context] Unexpected emergency stop

2018-02-10 Thread Tim Steenvoorden
gt; \doifdefinedelse{in#1} > {\getvalue{in#1}[#1:#2]} > {\writestatus{references}{reference format in#1 not defined} > \in[#1:#2]} > \stoptexdefinition % #3 is optional and gobbled by \in > > \definereferenceformat[inchp] > [text=\word{\labeltext{chapter}}] > &

Re: [NTG-context] Unexpected emergency stop

2018-02-09 Thread Otared Kavian
{\writestatus{references}{reference format in#1 not defined} > \in[#1:#2]} > \stoptexdefinition % #3 is optional and gobbled by \in > > \definereferenceformat[inchp] > [text=\word{\labeltext{chapter}}] > > \setuplabeltext[en] > [chapter=Chapter~] > > \chapter[chp

[NTG-context] Unexpected emergency stop

2018-02-09 Thread Tim Steenvoorden
#3 is optional and gobbled by \in \definereferenceformat[inchp] [text=\word{\labeltext{chapter}}] \setuplabeltext[en] [chapter=Chapter~] \chapter[chp:first]{First} Works: \see[chp:first] Hangs: \see[chp:first], \stoptext –– -- T.J. Steenvoorden, MSc PhD Candidate | Rad

[NTG-context] hunting a lua stack error

2017-03-13 Thread Alan Bowen
ext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \definereferenceformat [cite] [type=title,left={},right={}] \definereferenceformat [bibpage] [type=page] %\setupinteract

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Alan Bowen
f\startbibitem{\dosingleempty\dostartbibitem} >> \def\stopbibitem{\stopBibItem} >> >> \definedescription[BibItem][ >> width=broad, >> margin=1.5pc, >> indenting={no}, >> indentnext=no

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Hans Hagen
c, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \definereferencefo

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
gt;>> indenting={no}, >>> indentnext=no, >>> alternative=hanging, >>> hang=1, >>> headcommand=\gobbleoneargument, >>> align=right, >>> before={\directsetup{tightspace}\bgroup\language[packed]}, >>> after={\egroup}, >>> ]

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
artbibitem} >> \def\stopbibitem{\stopBibItem} >> >> \definedescription[BibItem][ >> width=broad, >> margin=1.5pc, >> indenting={no}, >> indentnext=no, >> alternative=hanging, >> hang=1, >> headcommand=\gobbleoneargument, >> align=rig

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Hans Hagen
={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \definereferenceformat [cite] [type=title,left={},right={}] \definereferenceformat [bibpage] [type=page] \starttext \startbibitem[A, B, and C]\stopbibitem % TEST by commenting these %\startbibitem[A{,} B{,} and C]\stopbibitem

Re: [NTG-context] new lua/stack error

2017-02-22 Thread Alan Bowen
]}, after={\egroup}, ] \definereferenceformat [cite] [type=title,left={},right={}] \definereferenceformat [bibpage] [type=page] \starttext \startbibitem[A, B, and C]\stopbibitem % TEST by commenting these %\startbibitem[A{,} B{,} and C]\stopbibitem % lines out \startbibitem[ABC]\stopbibitem

[NTG-context] Another question about definerefereformat

2016-11-13 Thread Benjamin Buchmuller
Here is another question, I was wondering about. What is the ConTeXt’s way to provide the “right” (or “left”) argument when \definereferenceformat[text=…] is set? Starting from this example: \starttext \definereferenceformat[infig][text={Figure }] \startplacefigure[reference=fig:A] Some

[NTG-context] Setupreferencing[interaction=text] breaks referenceformat[text={…}]

2016-11-13 Thread Benjamin Buchmuller
true, when the reference format is not defined via \definereferenceformat, but also in \in{Figure}[fig:A]. Here is the minimal example: \starttext \setupreferencing[ left={}, right={}, interaction=text, % critical ] \definereferenceformat[infig][text={Figure }] \chapter[myreference]{A Good Story

Re: [NTG-context] Controlling \at output

2016-02-28 Thread Aidan Nichol
{{\tttf !?}} >{\filterreference{page}} > \stopsetups > > \definereferenceformat[thispage][setups=referenceformat:thispage] > > \starttext > > \chapter[one]{First chapter} > > First: \thispage[one] > > Second: \thispage[two] > > \chapter[tw

Re: [NTG-context] ntg-context Digest, Vol 140, Issue 59

2016-02-24 Thread Aidan Nichol
{{\tttf !?}} > {\filterreference{page}} > \stopsetups > > \definereferenceformat[thispage][setups=referenceformat:thispage] > > \starttext > > \chapter[one]{First chapter} > > First: \thispage[one] > > Second: \thispage[two] > > \chapter[tw

Re: [NTG-context] Controlling \at output

2016-02-24 Thread Wolfgang Schuster
{\tttf !?}} {\filterreference{page}} \stopsetups \definereferenceformat[thispage][setups=referenceformat:thispage] \starttext \chapter[one]{First chapter} First: \thispage[one] Second: \thispage[two] \chapter[two]{Second chapter} First: \thispage[one] Second: \thispage[two] \stoptext Wo

Re: [NTG-context] missing reference of items

2015-12-05 Thread Henning Hraban Ramm
Am 2015-12-04 um 23:23 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: > or you use descriptions: > > \definedescription[bibitem][title=yes] > > \definereferenceformat [bibtitle] [type=title,left={[},right={]}] > \definereferenceformat [bibpage] [type=pa

[NTG-context] missing reference of items

2015-12-04 Thread Henning Hraban Ramm
. \startitemize \item[eins] Der erste Eintrag \item[zwei] Der zweite Eintrag \stopitemize \stoptext My error or ConTeXt bug? If that works, I’d like to setup something like: \definereferenceformat[cite][left={[},right={]},command=\in] I.e. \cite[Ramm 2015] should give … [Ramm 2015] … and that reference

Re: [NTG-context] missing reference of items

2015-12-04 Thread Henning Hraban Ramm
or ConTeXt bug? > You can use the \in command only for numbered items (e.g. \startitemize[n]). The same seems to be true for \at and \about. Then how must I setup my "cite" to get the reference label of an item? In my "manual bibliography" (as in http://wiki.contextgarden.net/Manual_Bib

Re: [NTG-context] missing reference of items

2015-12-04 Thread Wolfgang Schuster
nual_Bibliography), I have \definereferenceformat[cite][left={[},right={]},command=\at] \startbibitem[Ramm 2015] Ramm, Hraban: The Unsolved Question. Bishkek 2015. \stopbibitem And in my text I want to use \cite[Ramm 2015] to get a link to the entry shown as [Ramm 2015]. You can choose between a itemgro

Re: [NTG-context] missing reference of items

2015-12-04 Thread Alan BRASLAU
nd \about. > > Then how must I setup my "cite" to get the reference label of an > > item? > > > > In my "manual bibliography" (as in > > http://wiki.contextgarden.net/Manual_Bibliography), I have > > > > \definereferenceformat[cite][le

Re: [NTG-context] Oddity with \definereferenceformat

2015-04-20 Thread Wolfgang Schuster
Am 20.04.2015 um 05:10 schrieb Rik Kabel cont...@rik.users.panix.com: A reference to the text of a multi-line heading takes on the line breaks of the heading when \definereferenceformat[about] is used. \definereferenceformat[about][type=title,left=,right=] \starttext \startsection

[NTG-context] Oddity with \definereferenceformat

2015-04-19 Thread Rik Kabel
A reference to the text of a multi-line heading takes on the line breaks of the heading when \definereferenceformat[about] is used. \definereferenceformat[about][type=title,left=,right=] \starttext \startsection[reference={sec:one}, title={Three\\line\\title}] \startparagraph

[NTG-context] Writing between lines

2015-04-13 Thread Otared Kavian
{\darkgray{\infofont #1}}}\atop{}}\atop{}}$} \def\placeformularef[#1]{\doifmode{proofreading}% {\inrightmargin{\infofont #1}}% \placeformula[#1]} \definereferenceformat[Eqref][left=(,right=)] \def\eqref[#1]{\betweenlines{#1}\Eqref[#1]} \setupformulas[location=right] \enablemode

Re: [NTG-context] Writing between lines

2015-04-13 Thread Hans Hagen
}% {\inrightmargin{\infofont #1}}% \placeformula[#1]} \definereferenceformat[Eqref][left=(,right=)] \def\eqref[#1]{\betweenlines{#1}\Eqref[#1]} \setupformulas[location=right] \enablemode[proofreading] \starttext We have \placeformularef[eq:Square] \startformula a^2 + 2ab + b^2 = (a + b)^2

Re: [NTG-context] Request: Numbercommand key for \setupcaption

2015-04-11 Thread Wolfgang Schuster
\useMPlibrary[dum] \setuplabeltext[en][figure={LEFT , RIGHT}] \definereferenceformat[infigure][label=*] \setupcaption[figure][numbercommand=\groupedcommand{}{:}] \starttext \startplacefigure[reference=fig:dummy,title=Dummy figure] \externalfigure[dummy] \stopplacefigure See

Re: [NTG-context] Request: Numbercommand key for \setupcaption

2015-04-11 Thread Hans Hagen
the color after “RIGHT”. begin example \useMPlibrary[dum] \setuplabeltext[en][figure={LEFT , RIGHT}] \definereferenceformat[infigure][label=*] \setupcaption[figure][numbercommand=\groupedcommand{}{:}] \starttext \startplacefigure[reference=fig:dummy,title=Dummy figure] \externalfigure[dummy

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Otared Kavian
of the formula). The output is attached. % begin placeformula-ref.tex \def\placeformularef[#1]{\doifmodeelse{proofreading}% {\inrightmargin{\tt\txx #1}\placeformula[#1]}% {\placeformula[#1]}} \definereferenceformat[eqref][left=(,right=),text={formula }] \setupformulas[location

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Hans Hagen
]% {\doifmode{proofreading}{\inrightmargin{\infofont #1}% \placeformula[#1]} but a built in mechanism would probably work a bit different (less potential interference) \definereferenceformat[eqref][left=(,right=),text={formula }] \setupformulas[location=right] \enablemode[proofreading

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
texts for the reference with the \in command): begin example \useMPlibrary[dum] \mainlanguage[hu] \setuplabeltext [hu] [figure={, ábra.}] \setupcaption[figure][numberstopper=.] \definereferenceformat[infigure][label=figurereference] \starttext \startplacefigure[reference=fig:dummy,title

Re: [NTG-context] Styling References

2014-07-15 Thread Malte Stien
been unsuccessful in creating such a \animalabout command. I looked at \definereferenceformat which gets rid of the quotes, but I can’t make it go italics. I also looked at \setupreferencing, but that seems to affect ALL \abouts. \definereferenceformat[animalabout][style=italic,color=blue,type

[NTG-context] Styling References

2014-07-14 Thread Malte Stien
such as \animalabout[ducks] and \animalabout[bears]. ...but so far I have been unsuccessful in creating such a \animalabout command. I looked at \definereferenceformat which gets rid of the quotes, but I can’t make it go italics. I also looked at \setupreferencing, but that seems to affect ALL \abouts

Re: [NTG-context] Styling References

2014-07-14 Thread Wolfgang Schuster
, for example, I am happy to replace the first like with There are lots of animals such as \animalabout[ducks] and \animalabout[bears]. ...but so far I have been unsuccessful in creating such a \animalabout command. I looked at \definereferenceformat which gets rid of the quotes, but I can’t

[NTG-context] stoppers in section heading without having stoppers in references?

2013-04-18 Thread Sanjoy Mahajan
minimal example: \setuphead[chapter][sectionstopper=.] \definereferenceformat [inchapter] [text={Chapter~}] \starttext \chapter[one]{First heading} \input knuth \inchapter[one] we learn. \stoptext -Sanjoy

Re: [NTG-context] stoppers in section heading without having stoppers in references?

2013-04-18 Thread Wolfgang Schuster
, not In Chapter 1. we learn? I have tried many variants of the following minimal example: \setuphead[chapter][sectionstopper=.] \definereferenceformat [inchapter] [text={Chapter~}] \starttext \chapter[one]{First heading} \input knuth \inchapter[one] we learn. \stoptext \defineprocessor

[NTG-context] Seeking the incompatibility of versions of ConTeXts

2012-03-29 Thread Jaroslav Hajtmar
for the record: I am using with success this solution with few luascrips for a simple bibliography (sorting etc.), but only in ConTEXt MKIV TeXLive 2011. I want use it in mimimals standalone too. Thanx. Jaroslav Hajtmar Here is my example: \definereferenceformat[cite][left={[},right

[NTG-context] Simple bibliography

2012-03-05 Thread Jaroslav Hajtmar
. \definereferenceformat[Cite][left={[},right={]}] \defineitemgroup [bibliography] [levels=1] \setupitemgroup [bibliography] [symbol=n, left={[}, right={]}, width=1.5em, stopper=, itemalign

Re: [NTG-context] naming of labels: Is »()« allowed?

2011-12-08 Thread Otared Kavian
Hi Paul, It seems that the left parenthesis causes trouble when giving a label to a reference: \definereferenceformat[eqref][left=(,right=)] \starttext \placeformula[N)] \startformula \Pr\{N = n\} = \Pr\left\{ \min_{1 ≤ k ≤ n} S_k 0 \right\} = p_n^{(1

Re: [NTG-context] naming of labels: Is »()« allowed?

2011-12-08 Thread Hans Hagen
On 8-12-2011 09:36, Otared Kavian wrote: Hi Paul, It seems that the left parenthesis causes trouble when giving a label to a reference: \definereferenceformat[eqref][left=(,right=)] \starttext \placeformula[N)] \startformula \Pr\{N = n\} = \Pr

[NTG-context] naming of labels: Is »()« allowed?

2011-12-07 Thread Paul Menzel
message is in the log file. references unknown reference [][(N)] \definereferenceformat[eqref][left=(,right=)] \starttext \placeformula[(N)] \startformula \Pr\{N = n\} = \Pr\left\{ \min_{1 ≤ k ≤ n} S_k 0 \right\} = p_n^{(1

Re: [NTG-context] naming of labels: Is »()« allowed?

2011-12-07 Thread Paul Menzel
:29 MKIV fmt: 2011.11.25 int: english/english and the following message is in the log file. references unknown reference [][(N)] \definereferenceformat[eqref][left=(,right=)] \starttext \placeformula[(N)] \startformula

[NTG-context] no color with interaction and reference format

2011-11-30 Thread Stefan Müller
Hi list, when I am using reference formats to put text in front of my text references, I get no color. Please see the following minimal example \setupinteraction[state=start] \definereferenceformat[insec][text=section~] \starttext \section[mylabel]{A Section} A Reference to \in{section

Re: [NTG-context] no color with interaction and reference format

2011-11-30 Thread Wolfgang Schuster
Am 30.11.2011 um 12:56 schrieb Stefan Müller: Hi list, when I am using reference formats to put text in front of my text references, I get no color. Please see the following minimal example \setupinteraction[state=start] \definereferenceformat[insec][text=section~] \starttext

Re: [NTG-context] Edid of reference in Wiki (was: \in: incorrect space in example in reference)

2011-11-17 Thread Mikael P. Sundqvist
I replied to the original thread, but no reply of that so far. Am I the only one that has the problem not getting %%% Start example \definereferenceformat[eqref][left={(},right={)}] \starttext \placeformula[eq:gamma] \startformula \Gamma(n+1)=n! \stopformula The fundamental formula~\eqref

Re: [NTG-context] Edid of reference in Wiki (was: \in: incorrect space in example in reference)

2011-11-17 Thread Christian
, but no reply of that so far. Am I the only one that has the problem not getting %%% Start example \definereferenceformat[eqref][left={(},right={)}] \starttext \placeformula[eq:gamma] \startformula \Gamma(n+1)=n! \stopformula The fundamental formula~\eqref[eq:gamma]\ldots. \stoptext

Re: [NTG-context] \in: incorrect space in example in reference

2011-11-16 Thread Wolfgang Schuster
(}{)}[eq:pythagoras]. Normally this space is useful since the suffix is something like Table or Figure. Can `\in` be used with brackets or does another command have to be defined/used for that? Use \definereferenceformat to create your own command. Wolfgang

Re: [NTG-context] \in: incorrect space in example in reference

2011-11-16 Thread Mikael P. Sundqvist
Dear Paul, this used to work: %%% Start example \definereferenceformat[eqref][left={(},right={)}] \starttext \placeformula[eq:gamma] \startformula \Gamma(n+1)=n! \stopformula The fundamental formula~\eqref[eq:gamma]\ldots. \stoptext %%% Stop example But with the latest minimals it does

[NTG-context] Edid of reference in Wiki (was: \in: incorrect space in example in reference)

2011-11-16 Thread Paul Menzel
\definereferenceformat to create your own command. to correct this in the reference do I just edit the Wiki article or is the reference automatically created? Thanks, Paul signature.asc Description: This is a digitally signed message part

Re: [NTG-context] Include section number in reference

2011-10-15 Thread Wolfgang Schuster
\NC\NR \NC title\EQ \currentreferencetitle\NC\NR \NC text \EQ\currentreferencetext \NC\NR \NC default \EQ \currentreferencedefault \NC\NR \NC realpage \EQ \currentreferencerealpage \NC\NR \stoptabulate \stopsetups \definereferenceformat

Re: [NTG-context] interaction colors and page break

2011-10-06 Thread Christian
The same thing happens here when referring to a figure using \setupinteraction[state=start, focus=standard, style=,color=] and \definereferenceformat[infig][left={(Abb. },right={)}] In one place it generates a red link, on another page a black one. In both cases the figures are on the same page

Re: [NTG-context] interaction colors and page break

2011-10-06 Thread luigi scarso
On Thu, Oct 6, 2011 at 5:42 PM, Christian meta...@gmx.de wrote: The same thing happens here when referring to a figure using \setupinteraction[state=start, focus=standard, style=,color=] and \definereferenceformat[infig][left={(Abb. },right={)}] In one place it generates a red link

Re: [NTG-context] interaction colors and page break

2011-10-06 Thread Christian
Here you go: %% \setupinteraction[state=start, focus=standard, style=,color=] \setupreferencing[interaction=all] \definereferenceformat[infig][left={(Abb. },right={)}] \starttext \input knuth \infig[cow1] \placefigure[here][cow1]{A Cow}{\externalfigure[cow][width=0.3

Re: [NTG-context] styling \at

2011-08-15 Thread Wolfgang Schuster
}} \stopsetups \definereferenceformat[refa][type=page] \definereferenceformat[refb][type=page,style=italic] \definereferenceformat[refc][setups=reference:c,color=red] \starttext \pagereference[test] \startlines A:\refa[test] B:\refb[test] C:\refc[test] \stoplines \stoptext Wolfgang

Re: [NTG-context] styling \at

2011-08-15 Thread stdin
way to achieve this? You have to define your own command: \startsetups reference:c \high{\getreferenceentry{page}} \stopsetups \definereferenceformat[refa][type=page] \definereferenceformat[refb][type=page,style=italic] \definereferenceformat[refc][setups=reference:c,color=red] \starttext

[NTG-context] Behaviour of definereferenceformat changed?

2011-05-21 Thread Julian Becker
Can it be that in the beta version 2011.05.01, the behaviour of \definereferenceformat changed? I used to define: \definereferenceformat [ineqn] [left=(,right=),text=equation] and get e.g. equation (1), but now all it produces (equation 1). Is it supposed to behave that way? Do I have to use

Re: [NTG-context] Behaviour of definereferenceformat changed?

2011-05-21 Thread Wolfgang Schuster
Am 21.05.2011 um 18:32 schrieb Julian Becker: Can it be that in the beta version 2011.05.01, the behaviour of \definereferenceformat changed? I used to define: \definereferenceformat [ineqn] [left=(,right=),text=equation] and get e.g. equation (1), but now all it produces (equation 1

[NTG-context] Wrong cross references

2011-03-25 Thread Alasdair McAndrew
I have seen this discussed once somewhere else, but I can't find it. Here's the problem: two equations in my document have been given numbers (1) and (2), but the references to them come up as (2) and (3) respectively. I have used: \definereferenceformat [ineqn] [left=(,right=),text=equation

Re: [NTG-context] Wrong cross references

2011-03-25 Thread Aditya Mahajan
: \definereferenceformat [ineqn] [left=(,right=),text=equation] to obtain their references. What is going on here? A minimal example is needed. And is there an easier way to obtain parentheses around a reference number, so that we see from equation (6) instead of we see from equation 6

Re: [NTG-context] Wrong cross references

2011-03-25 Thread Alasdair McAndrew
McAndrew wrote: I have seen this discussed once somewhere else, but I can't find it. Here's the problem: two equations in my document have been given numbers (1) and (2), but the references to them come up as (2) and (3) respectively. I have used: \definereferenceformat [ineqn] [left

Re: [NTG-context] I think I found a bug in \at

2011-03-05 Thread Wolfgang Schuster
\definereferenceformat. \mainlanguage[nl] \definereferenceformat [AtPage] [label=page, %autocase=no, ] \starttext \reference[test]{\pagenumber} \at{page}[test] \AtPage[test] \stoptext @Hans: What happend with “command=\at” for \definereferenceformat? Wolfgang

Re: [NTG-context] references

2011-02-28 Thread Stefan Müller
Hi, I think it could be useful to be able to reuse the label text setups elsewhere, too. I have for example \definereferenceformat[inexp][label=example] \setuplabeltext[en][example=example~] in one of my documents. Why not specify this label when defining an enumeration example

Re: [NTG-context] references

2011-02-28 Thread Stefan Müller
think it could be useful to be able to reuse the label text setups elsewhere, too. I have for example \definereferenceformat[inexp][label=example] \setuplabeltext[en][example=example~] in one of my documents. Why not specify this label when defining an enumeration example: \defineenumeration

Re: [NTG-context] references

2011-02-15 Thread Florian Wobbe
fyi: you can say autocase=yes so that e.g. page becomes Page when it ends up at the beginning of a line. Hans, thanks for the new functionality. How would I use autocase? This does not seem to work: \definereferenceformat [aPage] [label=page, autocase=yes] See \aPage[one]. \aPage[one

Re: [NTG-context] references

2011-02-15 Thread Hans Hagen
On 15-2-2011 12:00, Florian Wobbe wrote: \definereferenceformat [aPage] [label=page, autocase=yes] See \aPage[one]. \aPage[one] is important. % Page is always capitalised fixed in next beta

[NTG-context] references

2011-02-11 Thread Hans Hagen
Hi, I uploaded a beta. New: - Improved \textxt behaviour (for Mojca's code). - Korean labels and index tagging (with help from Jeong Dalyoung). - Cleaned of referencing (formats). \setupinteraction[state=start] \startbuffer[definitions] \definereferenceformat [PageOne] [left=(,right=),text

Re: [NTG-context] \insection broken??

2011-01-06 Thread Wolfgang Schuster
says context don’t know a command with the name \insection, the only reference to the command in the source is in the file s-chi-00.tex which is used in mkii for chinese: \definereferenceformat [insection] [\c!label=\v!section] Wolfgang

Re: [NTG-context] \insection broken??

2011-01-06 Thread Steffen Wolfrum
[Ref217459429]. What's this? As the message says context don’t know a command with the name \insection, the only reference to the command in the source is in the file s-chi-00.tex which is used in mkii for chinese: \definereferenceformat [insection] [\c!label=\v!section] ... ahh

Re: [NTG-context] linking to equations with leqalignno?

2010-09-05 Thread Yury G. Kudryashov
Otared Kavian wrote: Hi Pau, \define[1]\eqref{(\in[#1])} % this definition is optional… \definereferenceformat[ineq][left=(,right=)] It is more handy to use \type{\eqref}: as one sees in equation \ineq[nohair

[NTG-context] referenceformat, text

2010-08-08 Thread Yury G. Kudryashov
Hi! The following code: \definereferenceformat[lem][text=Lemma] \inlem[lem:mylemma] produces just a number, no Lemma prefix. I've sent a patch to fix it a while ago. Could you please apply it, or tell me why you don't want to apply it? -- Yury G. Kudryashov--- a/tex/texmf-context/tex

Re: [NTG-context] referenceformat, text

2010-08-08 Thread Hans Hagen
On 8-8-2010 2:44, Yury G. Kudryashov wrote: Hi! The following code: \definereferenceformat[lem][text=Lemma] \inlem[lem:mylemma] produces just a number, no Lemma prefix. I've sent a patch to fix it a while ago. Could you please apply it, or tell me why you don't want to apply it? because

Re: [NTG-context] referenceformat, text

2010-08-08 Thread Yury G. Kudryashov
Hans Hagen wrote: On 8-8-2010 2:44, Yury G. Kudryashov wrote: Hi! The following code: \definereferenceformat[lem][text=Lemma] \inlem[lem:mylemma] produces just a number, no Lemma prefix. I've sent a patch to fix it a while ago. Could you please apply it, or tell me why you don't want

Re: [NTG-context] referenceformat, text

2010-08-08 Thread Hans Hagen
On 8-8-2010 7:19, Yury G. Kudryashov wrote: Hans Hagen wrote: On 8-8-2010 2:44, Yury G. Kudryashov wrote: Hi! The following code: \definereferenceformat[lem][text=Lemma] \inlem[lem:mylemma] produces just a number, no Lemma prefix. I've sent a patch to fix it a while ago. Could you please

Re: [NTG-context] referenceformat, text

2010-08-08 Thread Yury G. Kudryashov
Hans Hagen wrote: On 8-8-2010 7:19, Yury G. Kudryashov wrote: Hans Hagen wrote: On 8-8-2010 2:44, Yury G. Kudryashov wrote: Hi! The following code: \definereferenceformat[lem][text=Lemma] \inlem[lem:mylemma] produces just a number, no Lemma prefix. I've sent a patch to fix

Re: [NTG-context] referenceformat, text

2010-08-08 Thread Hans Hagen
On 8-8-2010 7:40, Yury G. Kudryashov wrote: this is only one case (we also need labels, content, left and right to work ok) I uploaded a beta that handles the following as intended. \starttext \definereferenceformat [intesta] [left=(,right=),text=Whatever~] \definereferenceformat [intestb

Re: [NTG-context] referenceformat, text

2010-08-08 Thread Wolfgang Schuster
~ was inserted automatically. For example, http://wiki.contextgarden.net/References suggests \definereferenceformat[insec][text=section] Am I right that the main difference between text and label (in the new version) is that context automatically uppercases label and adds ~ after it? No, the label key

[NTG-context] configure descriptions in place

2010-06-18 Thread Yury G. Kudryashov
accepted upstream. P.S.: What about my patch for strc-ref that fixes \definereferenceformat[inlem][text=Lemma] ignoring text=? ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] referenceformat MkIV

2010-06-07 Thread Yury G. Kudryashov
taco wrote: Hi, Yury G. Kudryashov wrote: Another problem fixed by my patch: \definereferenceformat[ineq][text=equation] \starttext \placeformula[first] \startformula 1=1\stopformula \ineq[first] \stoptext printed 1, not equation 1. This problem is still there and needs fixing

Re: [NTG-context] referenceformat MkIV

2010-05-31 Thread Yury G. Kudryashov
Yury G. Kudryashov wrote: Hi! I try the following: \definereferenceformat[ineq][left=(,right=),text=Equation] \starttext \placeformula[first] \startformula 2=2 \stopformula In \in[first] ineq \ineq[first] in \in[first]. \stoptext The result is: 2 = 2 (1) In 1 ineq (1) in (1

Re: [NTG-context] referenceformat MkIV

2010-05-31 Thread taco
patch: \definereferenceformat[ineq][text=equation] \starttext \placeformula[first] \startformula 1=1\stopformula \ineq[first] \stoptext printed 1, not equation 1. This problem is still there and needs fixing, but I think your patch has a bug (possibly because of the already done other bugfix

Re: [NTG-context] referenceformat MkIV

2010-05-31 Thread Yury G. Kudryashov
this beta will be published. Another problem fixed by my patch: \definereferenceformat[ineq][text=equation] \starttext \placeformula[first] \startformula 1=1\stopformula \ineq[first] \stoptext printed 1, not equation 1. This problem is still there and needs fixing, but I think your patch

[NTG-context] referenceformat MkIV

2010-05-29 Thread Yury G. Kudryashov
Hi! I try the following: \definereferenceformat[ineq][left=(,right=),text=Equation] \starttext \placeformula[first] \startformula 2=2 \stopformula In \in[first] ineq \ineq[first] in \in[first]. \stoptext The result is: 2 = 2 (1) In 1 ineq (1) in (1). It seems that \ineq doesn't clear some

[NTG-context] bugs (and sectionstopper in MkII)

2010-05-27 Thread Rogutės Sparnuotos
. }{ sec. )}[one] \stoptext [1] MkIV problems so far: * \in[] bug after \definereferenceformat[][]: http://archive.contextgarden.net/message/20100525.013929.6c0016f2.en.html * Interaction is not working (works fine with MkII): http://archive.contextgarden.net/message/20100525.002043.bb202b94

[NTG-context] \definereferenceformat [MkIV]

2010-05-24 Thread Rogutės Sparnuotos
A bug in MkIV? The left=[ and right=] settings of \definereferenceformat[] bleed through to \in and \at: \definereferenceformat[cite][left={[},right={]}] \starttext \section[sec:test]{Test} \cite[]. Section \in[sec:test]. \stoptext By the way, is \setupreferencing meant for \about only (if so

[NTG-context] Unexpected format of reference

2010-03-19 Thread Mikael Persson
Dear list, the following example gives me unexpected format of the last reference to the section \definereferenceformat[eqref][left={(},right={)}] \starttext \section[sec:test]{Test} We are now in \in{Section}{}[sec:test]. \placeformula[eq:general] \startformula A=B \stopformula In~\eqref

[NTG-context] \at inherits from costum \definereferenceformat

2010-01-26 Thread Bernhard Rosensteiner
Hello all, when i define a new reference with \definereferenceformat the \at command inherits the value from the left and right keys (see attachement). Is there a solution to prevent this or can i maybe define a costume reference format which outputs the pagenumber and not the sectionnumber

Re: [NTG-context] \at inherits from costum \definereferenceformat

2010-01-26 Thread Wolfgang Schuster
Am 27.01.10 00:08, schrieb Bernhard Rosensteiner: Hello all, when i define a new reference with \definereferenceformat the \at command inherits the value from the left and right keys (see attachement). Is there a solution to prevent this or can i maybe define a costume reference format which

Re: [NTG-context] \at inherits from costum \definereferenceformat

2010-01-26 Thread Bernhard Rosensteiner
Am 27.01.2010 um 00:16 schrieb Wolfgang Schuster: Am 27.01.10 00:08, schrieb Bernhard Rosensteiner: Hello all, when i define a new reference with \definereferenceformat the \at command inherits the value from the left and right keys (see attachement). Is there a solution to prevent

Re: [NTG-context] definereferenceformat problem...

2009-11-28 Thread Chen Shen
Hi all, I wonder whether this issue with text in \definereferenceformat is a bug, or if I missed something. Thanks a lot. shenchen On Wed, Nov 25, 2009 at 9:50 AM, Chen Shen hashh...@gmail.com wrote: I have the same problem with the latest mkiv beta (2009.11.25). left/right works fine

Re: [NTG-context] definereferenceformat problem...

2009-11-28 Thread Peter Münster
On Wed, Nov 11 2009, Bernhard Rosensteiner wrote: \definereferenceformat[fig][left=(, right=), label=reffigure, text={figure}] produces no output of text (in this case figure) when i do \fig[something]. Is this a bug in mkiv? I use luatex 0.44 A workaround: \definereferenceformat[fig

Re: [NTG-context] definereferenceformat problem...

2009-11-28 Thread Chen Shen
Thanks a lot Peter shenchen On Sun, Nov 29, 2009 at 12:36 AM, Peter Münster pmli...@free.fr wrote: On Wed, Nov 11 2009, Bernhard Rosensteiner wrote: \definereferenceformat[fig][left=(, right=), label=reffigure, text={figure}] produces no output of text (in this case figure) when i do

Re: [NTG-context] definereferenceformat problem...

2009-11-24 Thread Chen Shen
I have the same problem with the latest mkiv beta (2009.11.25). left/right works fine, but text does not. regards, shenchen On Thu, Nov 12, 2009 at 1:26 AM, Bernhard Rosensteiner brosenstei...@gmail.com wrote: Hello, \definereferenceformat[fig][left=(, right=), label=reffigure, text

  1   2   >